function share(msg) {
	let platform = uni.getSystemInfoSync().platform
	console.log(msg)
	if (platform === 'android') {
			plus.share.sendWithSystem({
					type: 'image',
					pictures:[msg.imageUrl],
				},
				function() {
					// 分享完成，请注意此时不一定是成功分享
					console.log("分享成功")
				},
				function() {
					// 分享失败
					console.log("分享失败")
				}
			);

	} else if (platform === 'ios') {
		uni.shareWithSystem({
			type: 'image',
			imageUrl: msg.imageUrl,
			success() {
			},
			fail() {
			}
		});
	}
}
export {
	share
}
